#include "mylabel.h"
#include "game.h"

MyLabel::MyLabel(QWidget *parent) : QLabel(parent) {

}

//-----右键双击快速清理-----
void MyLabel::mouseDoubleClickEvent(QMouseEvent *event) {
    if (event->button() == Qt::RightButton) {
        if (this->num == 0) return;
        emit
        this->clean();
    }
}
